package com.ruoyi.common.enums;

public enum ErrCode implements IEnum  {
    SYSTEM_EXCEPTION(10000002, "系统异常");

    private int code;
    private String message;

    ErrCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getKey() {
        return this.code;
    }

    @Override
    public String getValue() {
        return this.message;
    }
}
